// pages/skm/skm.js
const app = getApp()
const db = wx.cloud.database()
Page({
  data: {
    skm: {},
  },
  onLoad() {
    let p1 = new Promise((resolve, reject) => {
      db.collection('skm')
        .doc('9e70c66564911c1b029692727f886be8')
        .get()
        .then(res => {
          resolve(res.data)
        })
        .catch(err => {})
    })
    Promise.all([p1]).then((result) => {
      this.setData({
        skm:result[0]
      })
    })
  }
})